
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Our Faverate</title>
</head>

<body>


<center>
  <form name="form1" method="post" action="add.php4"><table width="68%" height="304"  border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
    <tr align="center" bgcolor="#CCCCCC">
      <td colspan="2">Add(add.php)||<a href="index.php">返回</a></td>
    </tr>
    <tr bgcolor="#CCCCCC">
      <td align="right">address：</td>
      <td align="left"><input name="address" type="text" id="address" ></td>
    </tr>
    <tr bgcolor="#CCCCCC">
      <td align="right">user：</td>
      <td align="left"><input name="user" type="text" id="user"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
      <td align="right">tag：</td>
      <td align="left"><input name="tag" type="text" id="tag" ></td>
    </tr>
    <tr bgcolor="#CCCCCC">
      <td align="right">email：</td>
      <td align="left"><input name="email" type="text" id="email"></td>
    </tr>
	<tr bgcolor="#CCCCCC">
      <td align="right">IP:</td>
      <td align="left"><input name="ip" type="text" id="ip" align="left" readonly="ture" value="<?php
if(getenv('HTTP_CLIENT_IP')) { 
$onlineip = getenv('HTTP_CLIENT_IP');
} elseif(getenv('HTTP_X_FORWARDED_FOR')) { 
$onlineip = getenv('HTTP_X_FORWARDED_FOR');
} elseif(getenv('REMOTE_ADDR')) { 
$onlineip = getenv('REMOTE_ADDR');
} else { 
$onlineip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
}
echo $onlineip;
?>" >
</td>
    </tr>

    <tr align="center" bgcolor="#CCCCCC">
      <td colspan="2"><input type="submit" name="Submit" value="提交">　　
        <input type="reset" name="Submit" value="重置"></td>
    </tr>
  </table>
  </form>
</center>

</body>
</html>
